<div class="well-large">
    <table class="table">
        <tbody>
            <tr>
                <td><label>专业中文名称</label></td>
                <td><?php echo $data->cnname; ?></td>
            </tr>
            <tr>
                <td><label>专业英文名称</label></td>
                <td><?php echo $data->enname; ?></td>
            </tr>
            <tr>
                <td><label>专业代码</label></td>
                <td><?php echo $data->code; ?></td>
            </tr>
            <tr>
                <td><form action="<?php echo Yii::app()->createUrl('/admin/subject/update'); ?>" method="post">
                        <input type="hidden" name="subject_id" value="<?php echo $data->id; ?>">
                        <input type="submit" value="更改">
                    </form></td>
                <td><form action="<?php echo Yii::app()->createUrl('/admin/subject/delete'); ?>" method="post">
                        <input type="hidden" name="subject_id" value="<?php echo $data->id; ?>">
                        <input type="submit" value="删除">
                    </form></td>
            </tr>
            <?php if($data->status == 1): ?>
            <tr>
                <td><form action="<?php echo Yii::app()->createUrl('/admin/subject/pass'); ?>" method="post">
                        <input type="hidden" name="subject_id" value="<?php echo $data->id; ?>">
                        <input type="submit" value="审核通过">
                    </form></td>
            </tr>
            <?php endif; ?>
        </tbody>
    </table>
</div>